
import axios from "axios";
const axioss = axios.create({
  baseURL: "http://www.ysqorz.top:8888/api/private/v1",
});
axioss.interceptors.request.use(
  function (config) {
    config.headers.Authorization = sessionStorage.getItem("token");
    return config;
  },
  function (error) {
    return Promise.reject(error);
  }
);

export default axioss;
 